NLIDB Templates for Semantic Parsing
نویسندگان
چکیده
In this paper, we present our work in building a template-based system for translating English sentences into SQL queries for a relational database system. The input sentences are syntactically parsed using the Link Parser, and semantically parsed through the use of domain-specific templates. The system is composed of a pre-processor and a run-time module. The pre-processor builds a conceptual knowledge base from the database schema using WordNet. The knowledge base is then used at run-time to semantically parse the input and create the SQL query. The system is meant to be domain independent and has been tested with the Cindi database that contains information on a virtual library.
منابع مشابه
برچسبزنی خودکار نقشهای معنایی در جملات فارسی به کمک درختهای وابستگی
Automatic identification of words with semantic roles (such as Agent, Patient, Source, etc.) in sentences and attaching correct semantic roles to them, may lead to improvement in many natural language processing tasks including information extraction, question answering, text summarization and machine translation. Semantic role labeling systems usually take advantage of syntactic parsing and th...
متن کاملAn Overview of NLIDB Approaches and Implementation for Airline Reservation System
Relational databases are queried using database query languages such as SQL. Natural language interfaces to databases (NLIDB) are systems that translate a natural language sentence into a database query. In this modern techno-crazy world, as more and more laymen access various systems and applications through their smart phones and tablets, the need for Natural Language Interfaces (NLIs) has in...
متن کاملSemantic representations for knowledge modeling of a Natural Language Interface to Databases using ontologies
Despite the large number of Natural Language Interfaces to Databases (NLIDB) that have been implemented, they do not guarantee to provide a correct response in 100% of the queries. In this paper, we present a way of semantic modelling the elements that integrate the knowledge of a NLIDB with the aim of increasing the number of correctly-answered queries. We design semantic representations in or...
متن کاملExtrinsic Parse Selection
This paper reports on one aspect of Locutus, a natural language interface to databases (NLIDB) which uses the output of a highprecision broad-coverage grammar to build semantic representations and ultimately SQL queries. Rather than selecting just a subset of the parses provided by the grammar to use in further processing, Locutus uses all of them. If the meaning of a parse does not conform to ...
متن کاملSemantic Analysis of Natural Language Queries Using Domain Ontology for Information Access from Database
This paper describes a method for semantic analysis of natural language queries for Natural Language Interface to Database (NLIDB) using domain ontology. Implementation of NLIDB for serious applications like railway inquiry, airway inquiry, corporate or government call centers requires higher precision. This can be achieved by increasing role of language knowledge and domain knowledge at semant...
متن کامل